function findPics(str) {
    let strs = str.split('');

    for (let i = 0; i < strs.length; i++) {
        const element = strs[i];

    }

}

console.log(findPics('abcdaefgfg'));